package com.cqupt.pojo;

import java.io.Serializable;

public class OperationLogEntity implements Serializable {
    /**
     * 日志id
     */
    private String logId;
    /**
     * 日志操作时间
     */
    private String operationTime;
    /**
     * 日志等级
     */
    private String level;
    /**
     * 操作者
     */
    private String userName;
    /**
     * 操作对象
     */
    private String operObject;
    /**
     * 日志操作名称
     */
    private String operObjectName;
    /**
     * 操作类型
     */
    private String operObjectType;
    /**
     * 返回结果
     */
    private String result;
    /**
     * 持续时间
     */
    private String duration;
    /**
     * 描述
     */
    private String description;

    /**
     * 空参构造
     */
    public OperationLogEntity() {
    }

    /**
     *
     * @param logId
     * @param operationTime
     * @param level
     * @param userName
     * @param operObject
     * @param operObjectName
     * @param operObjectType
     * @param result
     * @param duration
     * @param description
     */
    public OperationLogEntity(String logId, String operationTime, String level, String userName, String operObject, String operObjectName, String operObjectType, String result, String duration, String description) {
        this.logId = logId;
        this.operationTime = operationTime;
        this.level = level;
        this.userName = userName;
        this.operObject = operObject;
        this.operObjectName = operObjectName;
        this.operObjectType = operObjectType;
        this.result = result;
        this.duration = duration;
        this.description = description;
    }

    /**
     *
     * @param operationTime
     * @param level
     * @param userName
     * @param operObject
     * @param operObjectName
     * @param operObjectType
     * @param result
     * @param duration
     * @param description
     */
    public OperationLogEntity(String operationTime, String level, String userName, String operObject, String operObjectName, String operObjectType, String result, String duration, String description) {
        this.operationTime = operationTime;
        this.level = level;
        this.userName = userName;
        this.operObject = operObject;
        this.operObjectName = operObjectName;
        this.operObjectType = operObjectType;
        this.result = result;
        this.duration = duration;
        this.description = description;
    }

    public String getLogId() {
        return logId;
    }

    public void setLogId(String logId) {
        this.logId = logId;
    }

    public String getOperationTime() {
        return operationTime;
    }

    public void setOperationTime(String operationTime) {
        this.operationTime = operationTime;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOperObject() {
        return operObject;
    }

    public void setOperObject(String operObject) {
        this.operObject = operObject;
    }

    public String getOperObjectName() {
        return operObjectName;
    }

    public void setOperObjectName(String operObjectName) {
        this.operObjectName = operObjectName;
    }

    public String getOperObjectType() {
        return operObjectType;
    }

    public void setOperObjectType(String operObjectType) {
        this.operObjectType = operObjectType;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
